﻿using CloudClass.Models;
using Orchard.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CloudClass.Services
{
    public class ConcernFansService:IConcernFansService
    {
        private readonly IRepository<ConcernFans> _repository;

        public ConcernFansService(IRepository<ConcernFans> repository)
        {
            _repository = repository;
        }

        //获取关注/粉丝列表
        public virtual List<ConcernFans> GetList() {

            return _repository.Table.ToList();
        }
    }
}